package com.neustudy.content.service;

import com.neustudy.base.model.PageParams;
import com.neustudy.base.model.PageResult;
import com.neustudy.content.model.dto.AddCourseDto;
import com.neustudy.content.model.dto.CourseBaseInfoDto;
import com.neustudy.content.model.dto.EditCourseDto;
import com.neustudy.content.model.dto.QueryCourseParamsDto;
import com.neustudy.content.model.po.CourseBase;
import org.springframework.stereotype.Service;

/**
 * @author WKX
 * @version 1.0
 * @describe todo
 * @create: 2024-11-05 12:35
 */
@Service
public interface CourseBaseInfoService {
    //课程分页查询
    public PageResult<CourseBase> queryCourseBaseList(PageParams params, QueryCourseParamsDto queryCourseParamsDto);
    public CourseBaseInfoDto createCourseBase(Long companyId, AddCourseDto addCourseDto);
    public CourseBaseInfoDto getCourseBaseInfo(Long courseId);
    public CourseBaseInfoDto updateCourseBase(Long companyId,EditCourseDto editCourseDto);
    public void deleteCourseBase(Long companyId, Long courseId);
}
